﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Architecture.Repository.Migrations
{
    public partial class 公司 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "EnterpriseInfos",
                columns: table => new
                {
                    EnterpriseInfoid = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    GoodsInfoid = table.Column<int>(type: "int", nullable: false),
                    Breedingfarm = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    charge = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    Numberofstorage = table.Column<int>(type: "int", nullable: true),
                    Nameofcompany = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    Address = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    HaveTime = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    Introduction = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    Processingcompany = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    Productionlicensenumber = table.Column<string>(type: "nvarchar(max)", nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_EnterpriseInfos", x => x.EnterpriseInfoid);
                });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "EnterpriseInfos");
        }
    }
}
